package com.REPDPMSystem.Service;

import com.REPDPMSystem.Entity.Employee;
import com.REPDPMSystem.Entity.MyFile;
import com.REPDPMSystem.Entity.Project;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ProjectService extends IService<Project> {
    List<Project> getProjectInfoBoss();

    List<Project> getProjectInfoSupervisor();

    List<Project> getProjectInfoEmployee(Employee employee);

    List<Project> getProjectInfoApprentice();

    boolean changeProject(Project project);

    boolean createProject(Project project);

    boolean projectAllocation(Project project,Employee employee);

    long countDoneProjectByEmployeeAndTimePeriod(int eposition,String employeeId,int employeeDepartment , long startTime, long endTime);

    List<Project> getDoneProjectByEmployeeAndTimePeriod(int eposition,String employeeId,int employeeDepartment , long startTime, long endTime);

    long getDoneProjectStep(int employeeDepartment);

    long getDoingProjectStep(int employeeDepartment);
}
